[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ELSEIF           ELSE With IF                                       Directive

  ELSEIF expression

     This directive starts a conditional block of statements if expression
     is true (nonzero). You use it as you would an ELSE statement
     followed by an IF. For example:

                        IF NUMBER EQ 5
                           add ax,3
                        ELSEIF NUMBER EQ 4
                           add bx,2
                        ELSE
                           add cx,1
                        ENDIF

     The other variations of ELSEIF are:

                        o  ELSEIF1
                        o  ELSEIF2
                        o  ELSEIFB
                        o  ELSEIFDEF
                        o  ELSEIFDIF
                        o  ELSEIFDIFI
                        o  ELSEIFE
                        o  ELSEIFIDN
                        o  ELSEIFIDNI
                        o  ELSEIFNB
                        o  ELSEIFNDEF

See Also: ELSEIF1 ELSEIF2 ELSEIFB ELSEIFDEF ELSEIFDIF ELSEIFE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson